package com.yzt.minemodule.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.module.LoadMoreModule;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.yzt.minemodule.R;
import com.yzt.zhuju.network.entity.user.OrderBean;

/**
 * author : bob
 * date   : 2022/12/1
 * desc   : 黑名单的适配器
 */
public class OrderDetailItemAdapter extends BaseQuickAdapter<OrderBean.ItemList, BaseViewHolder> implements LoadMoreModule {

    public OrderDetailItemAdapter() {
        super(R.layout.item_order_detail_item);
    }

    @Override
    protected void convert(BaseViewHolder holder, OrderBean.ItemList item) {
        holder.setText(R.id.tv_item_title, item.getLabel());
        holder.setText(R.id.tv_create_time, item.getInfo());
    }
}
